package com.itcast.service;

import com.itcast.pojo.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> findAll();

    void deleteDeptById(Integer id);

    void addDept(Dept dept);

    Dept findDeptById(Integer id);

    void updateDeptById(Dept dept);
}
